#include "start.h"

// used to create a link list reply
struct _bnbase {
	struct _bnbase *prev;
	struct _bnbase *next;
	BIGNUM *value;
};

class BNBase {
public:
	_bnbase *head, *tail, *curr;

	// Constructor
	// Param 1 = value as base 10
	// Param 2 = the new base to use
	BNBase(char* /*_orig*/, char* /*_base*/, char* /*_length*/);
	// Deconstructor
	~BNBase();

	// form the number with the new base
	void append(char* /*next*/);

	BIGNUM* reset();
	BIGNUM* getNext();
};